package com.hu.zhcc.shiro.service.HealthIntervention;

import com.hu.zhcc.shiro.dao.FormulateSchemeMapper;
import com.hu.zhcc.shiro.entity.bo.HealthIntervention.FormulateScheme;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FormulateSchemeServiceImpl implements FormulateSchemeService {
    @Autowired
    public FormulateSchemeMapper mapper;
    @Override
    public int deleteByPrimaryKey(Integer fsId) {
        return mapper.deleteByPrimaryKey(fsId);
    }

    @Override
    public int insertSelective(FormulateScheme record) {
        return mapper.insertSelective(record);
    }

    @Override
    public FormulateScheme selectByPrimaryKey(Integer fsId) {
        return mapper.selectByPrimaryKey(fsId);
    }

    @Override
    public FormulateScheme findFormulateByPopId(Integer id) {
        return mapper.findFormulateByPopId(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FormulateScheme record) {
        return mapper.updateByPrimaryKeySelective(record);
    }
}
